package com.foundersoftware.exception;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * Custom exception about parser excel.
 * @author JiDong
 * @create December 2.2009	
 *
 */
public class ParserExcelException extends Exception{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	private static final Log 	log = LogFactory.getLog(ParserExcelException.class);
	
	public ParserExcelException(String message){
		super(message);
		log.error("parser excel appear exception : "+message);
	}
	
	public ParserExcelException(String message, Throwable cause) {
        super(message, cause);
        log.error("parser excel appear exception : "+message +" cause : "+cause);
    }
	
	public ParserExcelException(Throwable cause) {
       super(cause);
       log.error("parser excel appear exception : "+cause);
	}

}
